package com.jpx.jxcbiz.mapper;


import com.jpx.common.dto.TGoodsDto;
import com.jpx.jxcbiz.entity.TGoods;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mht
 * @since 2020-02-24
 */
public interface TGoodsMapper extends BaseMapper<TGoods> {

    /**
     * 查询库存
     * @return
     */
    List getGoodsList(@Param("name")String name,@Param("bname")String bname,@Param("typeId")Integer typeId);
    List<TGoodsDto> list(TGoodsDto goodsDto);

    List<TGoods> goodList(TGoodsDto goodsDto);

}
